package com.baizhiedu.basic.constructor;

import java.io.Serializable;

/**
 * ClassName: Customer
 * Description:
 * Date: 2022/11/19 PM 3:49:50
 * <p>
 * project: spring5
 * package: com.baizhiedu.basic.constructor
 * email: 1085844536@qq.com
 * version:
 *
 * @author WangGuojian
 */
public class Customer implements Serializable {

    private String name;
    private int age;

    public Customer(String name) {
        this.name = name;
    }

    public Customer(int age) {
        this.age = age;
    }

    public Customer(String name, int age) {
        this.name = name;
        this.age = age;
    }

    @Override
    public String toString() {
        return "Customer{" +
                "name='" + name + '\'' +
                ", age=" + age +
                '}';
    }
}
